<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Kyoto Cabinet: kyotocabinet::LinkedHashMap&lt; KEY, VALUE, HASH, EQUALTO &gt; Class Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Kyoto Cabinet
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacekyotocabinet.html">kyotocabinet</a>      </li>
      <li class="navelem"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">LinkedHashMap</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">kyotocabinet::LinkedHashMap&lt; KEY, VALUE, HASH, EQUALTO &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="kyotocabinet::LinkedHashMap" -->
<p>Doubly-linked hash map.  
 <a href="classkyotocabinet_1_1LinkedHashMap.html#details">More...</a></p>

<p><code>#include &lt;kcmap.h&gt;</code></p>

<p><a href="classkyotocabinet_1_1LinkedHashMap-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap_1_1Iterator.html">Iterator</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classkyotocabinet_1_1LinkedHashMap_1_1Iterator.html" title="Iterator of records.">Iterator</a> of records.  <a href="classkyotocabinet_1_1LinkedHashMap_1_1Iterator.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><b>Record</b></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Record data. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a9eb633e3e224073cb4baae64f9dcffaa">MoveMode</a> { <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a9eb633e3e224073cb4baae64f9dcffaaa6dc19903ccdbeaee13a2e48af411331d">MCURRENT</a>, 
<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a9eb633e3e224073cb4baae64f9dcffaaa32bd05d6aad615fb5c64dc9f0eb80438">MFIRST</a>, 
<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a9eb633e3e224073cb4baae64f9dcffaaa0e7192bfac090e0fed84c1698bba0bdf">MLAST</a>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Moving Modes.  <a href="classkyotocabinet_1_1LinkedHashMap.html#a9eb633e3e224073cb4baae64f9dcffaa">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a342ffd240c98f2d30427a0b4483d290c">LinkedHashMap</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a342ffd240c98f2d30427a0b4483d290c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a2f4458bc1c3d5743e43277e4e5f63bdc">LinkedHashMap</a> (size_t bnum)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a2f4458bc1c3d5743e43277e4e5f63bdc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#ac01871c4aa3a9035c0ca8fb4f480dbf4">~LinkedHashMap</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ac01871c4aa3a9035c0ca8fb4f480dbf4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">VALUE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#ae8e3cafd73162299981ab86e39a69e64">set</a> (const KEY &amp;key, const VALUE &amp;value, <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a9eb633e3e224073cb4baae64f9dcffaa">MoveMode</a> mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Store a record.  <a href="#ae8e3cafd73162299981ab86e39a69e64"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#ab00217b6a298dabb12bce51b78e60247">remove</a> (const KEY &amp;key)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove a record.  <a href="#ab00217b6a298dabb12bce51b78e60247"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">VALUE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#aa2b227aa913388f657f55895f57173fe">migrate</a> (const KEY &amp;key, <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">LinkedHashMap</a> *dist, <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a9eb633e3e224073cb4baae64f9dcffaa">MoveMode</a> mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Migrate a record to another map.  <a href="#aa2b227aa913388f657f55895f57173fe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">VALUE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#ac0302ff8ee7798f25575fd261f9289fc">get</a> (const KEY &amp;key, <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a9eb633e3e224073cb4baae64f9dcffaa">MoveMode</a> mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve a record.  <a href="#ac0302ff8ee7798f25575fd261f9289fc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#aba3053e44134ef36b95942bbaadb6c4b">clear</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove all records.  <a href="#aba3053e44134ef36b95942bbaadb6c4b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a04033348bc03be77fbd5f30474d1e6b6">count</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of records.  <a href="#a04033348bc03be77fbd5f30474d1e6b6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classkyotocabinet_1_1LinkedHashMap_1_1Iterator.html">Iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a2c7758189fe3e12959973856b991694e">begin</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an iterator at the first record.  <a href="#a2c7758189fe3e12959973856b991694e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classkyotocabinet_1_1LinkedHashMap_1_1Iterator.html">Iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a7767494efad703db50216cc1acd2bfdc">end</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an iterator of the end sentry.  <a href="#a7767494efad703db50216cc1acd2bfdc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classkyotocabinet_1_1LinkedHashMap_1_1Iterator.html">Iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a2e319e168d4074f8a085fa1f16db317d">find</a> (const KEY &amp;key)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an iterator at a record.  <a href="#a2e319e168d4074f8a085fa1f16db317d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const KEY &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a38526090de1a4cb3d5bc78cb60665d21">first_key</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the reference of the key of the first record.  <a href="#a38526090de1a4cb3d5bc78cb60665d21"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">VALUE &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a122a9f371259d0aaaa6eee400b1284f8">first_value</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the reference of the value of the first record.  <a href="#a122a9f371259d0aaaa6eee400b1284f8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const KEY &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#afa308ecf02f46bc68d4e81092c519ef1">last_key</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the reference of the key of the last record.  <a href="#afa308ecf02f46bc68d4e81092c519ef1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">VALUE &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a899f05330cf72e1b907beb348d4befad">last_value</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the reference of the value of the last record.  <a href="#a899f05330cf72e1b907beb348d4befad"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;class KEY, class VALUE, class HASH = std::hash&lt;KEY&gt;, class EQUALTO = std::equal_to&lt;KEY&gt;&gt;<br/>
class kyotocabinet::LinkedHashMap&lt; KEY, VALUE, HASH, EQUALTO &gt;</h3>

<p>Doubly-linked hash map. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">KEY</td><td>the key type. </td></tr>
    <tr><td class="paramname">VALUE</td><td>the value type. </td></tr>
    <tr><td class="paramname">HASH</td><td>the hash functor. </td></tr>
    <tr><td class="paramname">EQUALTO</td><td>the equality checking functor. </td></tr>
  </table>
  </dd>
</dl>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a9eb633e3e224073cb4baae64f9dcffaa"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::MoveMode" ref="a9eb633e3e224073cb4baae64f9dcffaa" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a9eb633e3e224073cb4baae64f9dcffaa">kyotocabinet::LinkedHashMap::MoveMode</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Moving Modes. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a9eb633e3e224073cb4baae64f9dcffaaa6dc19903ccdbeaee13a2e48af411331d"></a><!-- doxytag: member="MCURRENT" ref="a9eb633e3e224073cb4baae64f9dcffaaa6dc19903ccdbeaee13a2e48af411331d" args="" -->MCURRENT</em>&nbsp;</td><td>
<p>keep the current position </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9eb633e3e224073cb4baae64f9dcffaaa32bd05d6aad615fb5c64dc9f0eb80438"></a><!-- doxytag: member="MFIRST" ref="a9eb633e3e224073cb4baae64f9dcffaaa32bd05d6aad615fb5c64dc9f0eb80438" args="" -->MFIRST</em>&nbsp;</td><td>
<p>move to the first </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9eb633e3e224073cb4baae64f9dcffaaa0e7192bfac090e0fed84c1698bba0bdf"></a><!-- doxytag: member="MLAST" ref="a9eb633e3e224073cb4baae64f9dcffaaa0e7192bfac090e0fed84c1698bba0bdf" args="" -->MLAST</em>&nbsp;</td><td>
<p>move to the last </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a342ffd240c98f2d30427a0b4483d290c"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::LinkedHashMap" ref="a342ffd240c98f2d30427a0b4483d290c" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">LinkedHashMap</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor. </p>

</div>
</div>
<a class="anchor" id="a2f4458bc1c3d5743e43277e4e5f63bdc"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::LinkedHashMap" ref="a2f4458bc1c3d5743e43277e4e5f63bdc" args="(size_t bnum)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">LinkedHashMap</a> </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>bnum</em></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">bnum</td><td>the number of buckets of the hash table. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac01871c4aa3a9035c0ca8fb4f480dbf4"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::~LinkedHashMap" ref="ac01871c4aa3a9035c0ca8fb4f480dbf4" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::~<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">LinkedHashMap</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae8e3cafd73162299981ab86e39a69e64"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::set" ref="ae8e3cafd73162299981ab86e39a69e64" args="(const KEY &amp;key, const VALUE &amp;value, MoveMode mode)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">VALUE* <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#ae8e3cafd73162299981ab86e39a69e64">set</a> </td>
          <td>(</td>
          <td class="paramtype">const KEY &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const VALUE &amp;&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a9eb633e3e224073cb4baae64f9dcffaa">MoveMode</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Store a record. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key. </td></tr>
    <tr><td class="paramname">value</td><td>the value. </td></tr>
    <tr><td class="paramname">mode</td><td>the moving mode. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the pointer to the value of the stored record. </dd></dl>

</div>
</div>
<a class="anchor" id="ab00217b6a298dabb12bce51b78e60247"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::remove" ref="ab00217b6a298dabb12bce51b78e60247" args="(const KEY &amp;key)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#ab00217b6a298dabb12bce51b78e60247">remove</a> </td>
          <td>(</td>
          <td class="paramtype">const KEY &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove a record. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success, or false on failure. </dd></dl>

</div>
</div>
<a class="anchor" id="aa2b227aa913388f657f55895f57173fe"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::migrate" ref="aa2b227aa913388f657f55895f57173fe" args="(const KEY &amp;key, LinkedHashMap *dist, MoveMode mode)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">VALUE* <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#aa2b227aa913388f657f55895f57173fe">migrate</a> </td>
          <td>(</td>
          <td class="paramtype">const KEY &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt; *&#160;</td>
          <td class="paramname"><em>dist</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a9eb633e3e224073cb4baae64f9dcffaa">MoveMode</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Migrate a record to another map. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key. </td></tr>
    <tr><td class="paramname">dist</td><td>the destination map. </td></tr>
    <tr><td class="paramname">mode</td><td>the moving mode. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the pointer to the value of the migrated record, or NULL on failure. </dd></dl>

</div>
</div>
<a class="anchor" id="ac0302ff8ee7798f25575fd261f9289fc"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::get" ref="ac0302ff8ee7798f25575fd261f9289fc" args="(const KEY &amp;key, MoveMode mode)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">VALUE* <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#ac0302ff8ee7798f25575fd261f9289fc">get</a> </td>
          <td>(</td>
          <td class="paramtype">const KEY &amp;&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a9eb633e3e224073cb4baae64f9dcffaa">MoveMode</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve a record. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key. </td></tr>
    <tr><td class="paramname">mode</td><td>the moving mode. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the pointer to the value of the corresponding record, or NULL on failure. </dd></dl>

</div>
</div>
<a class="anchor" id="aba3053e44134ef36b95942bbaadb6c4b"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::clear" ref="aba3053e44134ef36b95942bbaadb6c4b" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#aba3053e44134ef36b95942bbaadb6c4b">clear</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove all records. </p>

</div>
</div>
<a class="anchor" id="a04033348bc03be77fbd5f30474d1e6b6"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::count" ref="a04033348bc03be77fbd5f30474d1e6b6" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a04033348bc03be77fbd5f30474d1e6b6">count</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the number of records. </p>

</div>
</div>
<a class="anchor" id="a2c7758189fe3e12959973856b991694e"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::begin" ref="a2c7758189fe3e12959973856b991694e" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1LinkedHashMap_1_1Iterator.html">Iterator</a> <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a2c7758189fe3e12959973856b991694e">begin</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get an iterator at the first record. </p>

</div>
</div>
<a class="anchor" id="a7767494efad703db50216cc1acd2bfdc"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::end" ref="a7767494efad703db50216cc1acd2bfdc" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1LinkedHashMap_1_1Iterator.html">Iterator</a> <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a7767494efad703db50216cc1acd2bfdc">end</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get an iterator of the end sentry. </p>

</div>
</div>
<a class="anchor" id="a2e319e168d4074f8a085fa1f16db317d"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::find" ref="a2e319e168d4074f8a085fa1f16db317d" args="(const KEY &amp;key)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classkyotocabinet_1_1LinkedHashMap_1_1Iterator.html">Iterator</a> <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a2e319e168d4074f8a085fa1f16db317d">find</a> </td>
          <td>(</td>
          <td class="paramtype">const KEY &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get an iterator at a record. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the pointer to the value of the corresponding record, or NULL on failure. </dd></dl>

</div>
</div>
<a class="anchor" id="a38526090de1a4cb3d5bc78cb60665d21"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::first_key" ref="a38526090de1a4cb3d5bc78cb60665d21" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const KEY&amp; <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a38526090de1a4cb3d5bc78cb60665d21">first_key</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the reference of the key of the first record. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the reference of the key of the first record. </dd></dl>

</div>
</div>
<a class="anchor" id="a122a9f371259d0aaaa6eee400b1284f8"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::first_value" ref="a122a9f371259d0aaaa6eee400b1284f8" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">VALUE&amp; <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a122a9f371259d0aaaa6eee400b1284f8">first_value</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the reference of the value of the first record. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the reference of the value of the first record. </dd></dl>

</div>
</div>
<a class="anchor" id="afa308ecf02f46bc68d4e81092c519ef1"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::last_key" ref="afa308ecf02f46bc68d4e81092c519ef1" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const KEY&amp; <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#afa308ecf02f46bc68d4e81092c519ef1">last_key</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the reference of the key of the last record. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the reference of the key of the last record. </dd></dl>

</div>
</div>
<a class="anchor" id="a899f05330cf72e1b907beb348d4befad"></a><!-- doxytag: member="kyotocabinet::LinkedHashMap::last_value" ref="a899f05330cf72e1b907beb348d4befad" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class KEY , class VALUE , class HASH  = std::hash&lt;KEY&gt;, class EQUALTO  = std::equal_to&lt;KEY&gt;&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">VALUE&amp; <a class="el" href="classkyotocabinet_1_1LinkedHashMap.html">kyotocabinet::LinkedHashMap</a>&lt; KEY, VALUE, HASH, EQUALTO &gt;::<a class="el" href="classkyotocabinet_1_1LinkedHashMap.html#a899f05330cf72e1b907beb348d4befad">last_value</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the reference of the value of the last record. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the reference of the value of the last record. </dd></dl>

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri May 25 2012 01:21:36 for Kyoto Cabinet by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
